//
//  RYCListModelIdentifierPagingPolicy.h
//  EWallet
//
//  Created by hemingway payegis on 13-3-4.
//  Copyright (c) 2013年 payegis. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "RYCHTTPListModel.h"

@protocol RYCListModelPagingIdentifierProtocol <NSObject>
@required
- (NSString*)identifierForInstance:(id<RYCListModelPagingIdentifierProtocol>)instance;
@end

@interface RYCListModelIdentifierPagingPolicy : NSObject<RYCHTTPListModelPagingPolicy>

@property (nonatomic) NSInteger pageSize;//default is 20
@property (nonatomic, retain) NSString* identifierKeyName;
@property (nonatomic, retain) NSDictionary* otherParams;

@property (nonatomic, readonly, retain) NSString* currentPageIdentifier;
@end
